package com.zfbots.ado;

public class ErrorStrings
{
  public static final String BEGIN_TRANS = "BeginTrans";
  public static final String COMMIT_TRANS = "CommitTrans";
  public static final String ROLLBACK_TRANS = "RollbackTrans";
  public static final String EXECUTE = "Execute";
  public static final String SETACTIVECONNECTION = "setActiveConnection";
  public static final String SETCONNECTIONTIMEOUT = "setConnectionTimeout";
  public static final String SETCONNECTIONSTRING = "setConnectionString";
  public static final String SETCOMMANDTEXT = "setCommandText";
  public static final String SETCOMMANDTYPE = "setCommandType";
  public static final String SETABSOLUTEPOSITION = "setAbsolutePosition";
  public static final String SETBOOKMARK = "setBookmark";
  public static final String SETCURSORTYPE = "setCursorType";
  public static final String SETLOCKTYPE = "setLockType";
  public static final String SETMAXRECORDS = "setMaxRecords";
  public static final String SETSOURCE = "setSource";
  public static final String GETABSOLUTEPOSITION = "getAbsolutePosition";
  public static final String GETBOOKMARK = "getBookmark";
  public static final String GETCLIPSTRING = "getClipString";
  public static final String GETROWS = "GetRows";
  public static final String GETNUMCOLUMNS = "GetNumColumns";
  public static final String ADDNEW = "AddNew";
  public static final String UPDATE = "Update";
  public static final String DELETE = "Delete";
  public static final String REEXECQUERY = "reExecuteQuery";
  public static final String MOVE = "Move";
  public static final String MOVEFIRST = "MoveFirst";
  public static final String MOVENEXT = "MoveNext";
  public static final String MOVEPREV = "MovePrevious";
  public static final String MOVELAST = "MoveLast";
  public static final String NEXTRECORDSET = "NextRecordset";
  public static final String EXECQUERY = "exeQuery";
  public static final String GETITEM = "getItem";
  public static final String GETPROCNAME = "getProcName";
  public static final String BUILDSQLSTATEMENT = "buildSqlStatement";
  public static final String DATE = "DATE";
  public static final String TIME = "TIME";
  public static final String TIMESTAMP = "TIMESTAMP";
  public static final String REFRESH = "Refresh";
  public static final String FORWARD_ONLY = "Forward Only Cursor";
  public static final String LOCK_PESSIMISTIC = "Lock Pessimistic";
  public static final String MISSING_FROM = "Missing 'From' key word";
  public static final String PARAMETERS_SUPPORTED = "ParametersSupported";
  public static final String PREPARE_SUPPORTED = "PrepareSupported";
  public static final int ERRNUM_NYI = 9000;
  public static final String NYI = "Not Yet Implemented";
  public static final int ERRNUM_BAD_SQLTYPE = 9001;
  public static final String BAD_SQLTYPE = "Unknown SQL Type : ";
  public static final int ERRNUM_BAD_ADOTYPE = 9002;
  public static final String BAD_ADOTYPE = "Unknown ADO Type : ";
  public static final int ERRNUM_NYS = 9003;
  public static final String NYS = "Feature Not Supported: ";
  public static final int ERRNUM_CON_CREATE = 10001;
  public static final String CON_CREATE = "Error creating connection.";
  public static final int ERRNUM_CON_TRAN_NOSUPPORT = 10002;
  public static final String CON_TRAN_NOSUPPORT = "The backend database does not support transactions.";
  public static final int ERRNUM_CON_TRAN_START = 10003;
  public static final String CON_TRAN_START = "error starting the transaction.";
  public static final int ERRNUM_CON_TRAN_COMMIT = 10004;
  public static final String CON_TRAN_COMMIT = "error while committing transaction.";
  public static final int ERRNUM_CON_TRAN_ROLLBACK = 10005;
  public static final String CON_TRAN_ROLLBACK = "error while rolling back transaction.";
  public static final int ERRNUM_CON_TRAN_STILLACTIVE = 10006;
  public static final String CON_TRAN_STILLACTIVE = "You need to complete the current transaction before closing the connection.";
  public static final int ERRNUM_CON_CLOSE = 10007;
  public static final String CON_CLOSE = "cannot close the connection.";
  public static final int ERRNUM_CON_ALREADY_OPEN = 10008;
  public static final String CON_ALREADY_OPEN = "you already have an open connection for this object.";
  public static final int ERRNUM_CON_NOT_OPEN = 10009;
  public static final String CON_NOT_OPEN = "You must have an open connection before calling: ";
  public static final int ERRNUM_CON_CONNECTING = 10010;
  public static final String CON_CONNECTING = "Error connecting to data source: ";
  public static final int ERRNUM_CON_GETCAPS = 10011;
  public static final String CON_GETCAPS = "Error getting capabilities for this connection: ";
  public static final int ERRNUM_CON_CREATE_STMT = 10012;
  public static final String CON_CREATE_STMT = "error creating new statement.";
  public static final int ERRNUM_CON_PREPARE_STMT = 10013;
  public static final String CON_PREPARE_STMT = "error preparing statement: ";
  public static final int ERRNUM_CON_CALL_STMT = 10014;
  public static final String CON_CALL_STMT = "error creating call statement: ";
  public static final int ERRNUM_CON_CREATE_METADATA = 10015;
  public static final String CON_CREATE_METADATA = "error creating database metadata.";
  public static final int ERRNUM_CON_CLOSE_STMT = 10016;
  public static final String CON_CLOSE_STMT = "error closing statement.";
  public static final int ERRNUM_CON_NOT_IN_TRAN = 10017;
  public static final String CON_NOT_IN_TRAN = "You need to be in a transaction in order to call: ";
  public static final int ERRNUM_CON_REGISTER_DRIVER = 10018;
  public static final String CON_REGISTER_DRIVER = "error registering driver: ";
  public static final int ERRNUM_CON_BADTIMEOUT_VALUE = 10019;
  public static final String CON_BADTIMEOUT_VALUE = "Connection timeout value should be greater than 0";
  public static final int ERRNUM_CON_CREATE_SECOND = 10020;
  public static final String CON_CREATE_SECOND = "Error creating a second connection.";
  public static final int ERRNUM_CON_TRAN_NESTED_NOSUPPORT = 10021;
  public static final String CON_TRAN_NESTED_NOSUPPORT = "Nested Transactions are not supported.  You need to commit/rollback the previous transaction before beginning a new one.";
  public static final int ERRNUM_CMD_BADTIMEOUT_VALUE = 20001;
  public static final String CMD_BADTIMEOUT_VALUE = "Command timeout value should be greater than or equal to 0";
  public static final int ERRNUM_CMD_BADTYPE = 20002;
  public static final String CMD_BADTYPE = "unknown/unhandled command type";
  public static final int ERRNUM_CMD_CON_NOTSET = 20003;
  public static final String CMD_CON_NOTSET = "You need to set the connection before calling: ";
  public static final int ERRNUM_CMD_SET_PARAM = 20004;
  public static final String CMD_SET_PARAM = "Error setting value for parameter: ";
  public static final int ERRNUM_CMD_SET_DIR = 20005;
  public static final String CMD_SET_DIR = "Cannot set direction to return value unless the command type is adCmdStoredProc.";
  public static final int ERRNUM_CMD_REG_PARAM = 20006;
  public static final String CMD_REG_PARAM = "Error registering outParam for parameter: ";
  public static final int ERRNUM_CMD_INVALID_TYPE = 20007;
  public static final String CMD_INVALID_TYPE = "Command type should be adCmdStoredProc for invoking this method.";
  public static final int ERRNUM_CMD_TYPE_NOTSET = 20008;
  public static final String CMD_TYPE_NOTSET = "Command type should be set before calling: ";
  public static final int ERRNUM_CMD_CURSOR_NOTOPEN = 20009;
  public static final String CMD_CURSOR_NOTOPEN = "You need to have an open cursor in order to call: ";
  public static final int ERRNUM_CMD_PARAMS_NOTSET = 20009;
  public static final String CMD_PARAMS_NOTSET = "You need to set the parameters and their types before calling Execute";
  public static final int ERRNUM_CMD_INVALID_PROC = 20010;
  public static final String CMD_INVALID_PROC = "Missing call keyword in stored procedure call: ";
  public static final int ERRNUM_CMD_TEXT_NOTSET = 20011;
  public static final String CMD_TEXT_NOTSET = "Command text not set yet.";
  public static final int ERRNUM_FLD_READ_ISTREAM = 30001;
  public static final String FLD_READ_ISTREAM = "Error retrieving data from input stream.";
  public static final int ERRNUM_FLD_CONVERT_DATATYPE = 30002;
  public static final String FLD_CONVERT_DATATYPE = "Error during data type conversion.";
  public static final int ERRNUM_FLD_RETRIEVE_DATA = 30003;
  public static final String FLD_RETRIEVE_DATA = "Error retrieving data.";
  public static final int ERRNUM_FLD_RESET_STREAM = 30004;
  public static final String FLD_RESET_STREAM = "Internal error, resetting the stream.";
  public static final int ERRNUM_FLD_INVALID_CURSOR = 30006;
  public static final String FLD_INVALID_CURSOR = "The cursor must be positioned on a valid record to access the field value.";
  public static final int ERRNUM_FLD_GETINFO = 30007;
  public static final String FLD_GETINFO = "error getting column information for: ";
  public static final int ERRNUM_FLD_ISNULL = 30008;
  public static final String FLD_ISNULL = "Field value is null.";
  public static final int ERRNUM_FLD_INCOMPATIBLE_TYPE = 30009;
  public static final String FLD_INCOMPATIBLE_TYPE = "Incompatible data types.  The value is of type: ";
  public static final String FLD_VARTYPE = "It cannot be converted to type:  ";
  public static final String FLD_TYPE = "The JDBC data type for this field is: ";
  public static final String FLD_NUM = "Field number is: ";
  public static final int ERRNUM_FLD_INVALID_INDEX = 30010;
  public static final String FLD_INVALID_INDEX = "Field array index out of bounds, array size: ";
  public static final int ERRNUM_FLD_NOTFOUND = 30011;
  public static final String FLD_NOTFOUND = "Field not found: ";
  public static final int ERRNUM_FLD_UPD_READONLY = 30012;
  public static final String FLD_UPD_READONLY = "Cannot update a read only column: ";
  public static final int ERRNUM_FLD_UPD_AUTOINC = 30013;
  public static final String FLD_UPD_AUTOINC = "Cannot update an auto increment column: ";
  public static final int ERRNUM_FLD_BAD_TYPE = 30014;
  public static final String FLD_BAD_TYPE = "Data in Variant is not of type: ";
  public static final int ERRNUM_PARAM_INVALID_PREC = 40001;
  public static final String PARAM_INVALID_PREC = "The precision for the parameter should be >= 0";
  public static final int ERRNUM_PARAM_INVALID_SCALE = 40002;
  public static final String PARAM_INVALID_SCALE = "The scale for the parameter should be >= 0";
  public static final int ERRNUM_PARAM_INVALID_SIZE = 40003;
  public static final String PARAM_INVALID_SIZE = "The size for the parameter should be >= 0";
  public static final int ERRNUM_PARAM_RETRIEVE_DATA = 40004;
  public static final String PARAM_RETRIEVE_DATA = "Error retrieving old data from variant.";
  public static final int ERRNUM_PARAM_NOTFOUND = 40005;
  public static final String PARAM_NOTFOUND = "Parameter not found in the collection. ";
  public static final int ERRNUM_PARAM_GETINFO = 40006;
  public static final String PARAM_GETINFO = "Error extracting parameter information";
  public static final int ERRNUM_PARAM_INVALID_INDEX = 40007;
  public static final String PARAM_INVALID_INDEX = "Parameter array index out of bounds, array size: ";
  public static final int ERRNUM_PARAM_INVALID_TYPE = 40008;
  public static final String PARAM_INVALID_TYPE = "Parameter type not set.";
  public static final String PARAM_NUM = "Parameter number is: ";
  public static final int ERRNUM_CURSOR_MOVE_CURSOR = 69001;
  public static final String CURSOR_MOVE_CURSOR = "error moving to next record.";
  public static final int ERRNUM_CURSOR_ROW_FETCH = 69002;
  public static final String CURSOR_ROW_FETCH = "Internal error fetching row. row not found, rowNum: ";
  public static final int ERRNUM_CURSOR_GET_DATA = 69003;
  public static final String CURSOR_GET_DATA = "Caught Exception getting data.";
  public static final int ERRNUM_CURSOR_FETCH_VALUES = 69004;
  public static final String CURSOR_FETCH_VALUES = "error fetching values.";
  public static final int ERRNUM_RS_ALREADY_OPEN = 70001;
  public static final String RS_ALREADY_OPEN = "The cursor is already open.  You need to close the cursor before calling: ";
  public static final int ERRNUM_RS_INVALID_OP = 70002;
  public static final String RS_INVALID_OP = "Invalid operation for cursor type: ";
  public static final int ERRNUM_RS_INVALID_ROW = 70003;
  public static final String RS_INVALID_ROW = "Invalid row value :";
  public static final int ERRNUM_RS_INVALID_ROWPOS = 70004;
  public static final String RS_INVALID_ROWPOS = "You have to be positioned on a valid record when you call: ";
  public static final int ERRNUM_RS_ROW_DELETED = 70005;
  public static final String RS_ROW_DELETED = "The requested row to go has since been deleted.";
  public static final int ERRNUM_RS_BADCACHE_VALUE = 70006;
  public static final String RS_BADCACHE_VALUE = "Cache size must be greater than or equal to 1.";
  public static final int ERRNUM_RS_NOT_OPEN = 70007;
  public static final String RS_NOT_OPEN = "You need to have an open cursor before calling: ";
  public static final int ERRNUM_RS_CANT_UPDATE = 70008;
  public static final String RS_CANT_UPDATE = "there's nothing to update.";
  public static final int ERRNUM_RS_ORPHAN = 70009;
  public static final String RS_ORPHAN = "Recordset is no longer associated with a connection/query";
  public static final int ERRNUM_RS_NEXT_ALREADY_CALLED = 70010;
  public static final String RS_NEXT_ALREADY_CALLED = "NextRecordset can be called only once per Recordset.";
  public static final int ERRNUM_RS_CLOSE_ERROR = 70011;
  public static final String RS_CLOSE_ERROR = "Error closing cursor.";
  public static final int ERRNUM_RS_CANT_MOVE_PREV = 70012;
  public static final String RS_CANT_MOVE_PREV = "You cannot move back when the cursor is on BOF.";
  public static final int ERRNUM_RS_CANT_MOVE_NEXT = 70013;
  public static final String RS_CANT_MOVE_NEXT = "You cannot move forward when the cursor is on EOF.";
  public static final int ERRNUM_RS_BADGETROWS_VALUE = 70014;
  public static final String RS_BADGETROWS_VALUE = "Invalid value passed for numRecords in GetRows.";
  public static final int ERRNUM_RS_INVALID_CMDOP = 70015;
  public static final String RS_INVALID_CMDOP = "Invalid operation for command type: ";
  public static final int ERRNUM_RS_EXEC_ERROR = 70016;
  public static final String RS_EXEC_ERROR = "Error executing query: ";
  public static final int ERRNUM_RS_GETNEXT_ERROR = 70017;
  public static final String RS_GETNEXT_ERROR = "Error getting next recordset.";
  public static final int ERRNUM_RS_GET_METADATA = 70018;
  public static final String RS_GET_METADATA = "error getting recordset metadata.";
  public static final int ERRNUM_RS_NO_RECS = 70019;
  public static final String RS_NO_RECS = "There are no records in the result set.";
  public static final int ERRNUM_RS_NO_UNIQUE_INDEX = 70020;
  public static final String RS_NO_UNIQUE_INDEX = "Either the table does not exist or there is no unique index in the table: ";
  public static final int ERRNUM_RS_CMD_NOTSET = 70021;
  public static final String RS_CMD_NOTSET = "Recordset source not set yet.";
  public static final int ERRNUM_RS_INVALID_BKMK = 70022;
  public static final String RS_INVALID_BKMK = "Invalid bookmark value.";
  public static final int ERRNUM_RS_INSERT_LIMIT = 70023;
  public static final String RS_INSERT_LIMIT = "Currently you can do an insert only on queries with one table";
  public static final int ERRNUM_RS_UPDATE_LIMIT = 70024;
  public static final String RS_UPDATE_LIMIT = "Currently you can do an update only on queries with one table";
  public static final int ERRNUM_RS_UPDATE_RECNOTFOUND = 70025;
  public static final String RS_UPDATE_RECNOTFOUND = "The record to be updated is no longer in the database! You should Refresh the query to get the latest state of the db.";
  public static final int ERRNUM_RS_DELETE_RECNOTFOUND = 70026;
  public static final String RS_DELETE_RECNOTFOUND = "The record to be deleted is no longer in the database! You should Refresh the query to get the latest state of the db.";
  public static final int ERRNUM_RS_INVALID_LOCKOP = 70027;
  public static final String RS_INVALID_LOCKOP = "You cannot insert/update/delete if the locktype is set as read only";
  public static final int ERRNUM_RS_KEYSET_GROUPBY = 70028;
  public static final String RS_KEYSET_GROUPBY = "You cannot set the cursor type to adOpenKeyset on a Group By query - you should set it to adOpenStatic";
  public static final int ERRNUM_RS_GET_KEYDATA = 70029;
  public static final String RS_GET_KEYDATA = "Caught Exception getting data for keyset cursor.";
  public static final int ERRNUM_RS_INVALID_QUERY = 70030;
  public static final String RS_INVALID_QUERY = "Invalid SQL Statement";
  public static final int ERRNUM_RS_NOFIELD_TOUPDATE = 70030;
  public static final String RS_NOFIELD_TOUPDATE = "Either none of the fields were updated or the updated fields are not modifiable.";
  public static final int ERRNUM_RS_KEYSET_CATALOG = 70031;
  public static final String RS_KEYSET_CATALOG = "You cannot set the cursor type to adOpenKeyset for adCmdGetTables/adCmdGetColumns - you should set it to adOpenStatic";
  public static final int ERRNUM_RS_MISSING_TABLE = 70032;
  public static final String RS_MISSING_TABLE = "Missing table name in select statement.";
  public static final int ERRNUM_RS_NOT_ENOUGH_FIELDS = 70033;
  public static final String RS_NOT_ENOUGH_FIELDS = "To update the record, you need to have the unique key columns or all the searchable columns in the select list.";
  public static final int ERRNUM_RS_INVALID_CMD_TYPE = 70034;
  public static final String RS_INVALID_CMD_TYPE = "Invalid operation for the command executed.";
  public static final int ERRNUM_RS_KEYSET_SELECT = 70035;
  public static final String RS_KEYSET_SELECT = "You cannot set the cursor type to adOpenKeyset on a non select stmt - you should set it to adOpenStatic";
  public static final int ERRNUM_RS_JDBCRS_NULL = 70036;
  public static final String RS_JDBCRS_NULL = "JDBC driver returned null for ResultSet after executing the query.";
  public static final int ERRNUM_RS_BADMAXRECS_VALUE = 70037;
  public static final String RS_BADMAXRECS_VALUE = "MaxRecords must be greater than or equal to 0.";
  public static final int ERRNUM_RS_BADGETPK_ARGS = 70038;
  public static final String RS_BADGETPK_ARGS = "adCmdGetPrimaryKeys call should have a tablename";
  public static final int ERRNUM_RS_BADGETFK_ARGS = 70039;
  public static final String RS_BADGETFK_ARGS = "adCmdGetForeignKeys call should have a tablename";
  public static final int ERRNUM_RS_BADGETINDEX_ARGS = 70040;
  public static final String RS_BADGETINDEX_ARGS = "adCmdGetIndexes call should have a tablename";
  public static final int ERRNUM_RS_INVALID_DATATYPE = 70041;
  public static final String RS_INVALID_DATATYPE = "Invalid datatype.";
  public static final int ERRNUM_UNKNOWN_VARIANT = 90001;
  public static final String UNKNOWN_VARIANT = "Unknown/Unhandled variant type for this operation: ";
  public static final int ERRNUM_UNKNOWN_OBJECT = 90002;
  public static final String UNKNOWN_OBJECT = "Unknown/Unhandled object type for this operation: ";
}